package com.quick.DP.ObserverPattern;

class MobileApp implements WeatherObserver {
    @Override
    public void update(float temperature) {
        System.out.println("手机APP推送: 温度已更新为 " + temperature + "°C");
    }
}